<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>直播吧</title>
    <style>
        body,ul,li,div{
            margin:0;
            padding:0;
        }
        body{
            background-color: #f8f8f8;
        }
        .news{
            width:100%;
            border: 1px solid red;
        }
        .news_list{
            width:80%;
            height:800px;
            margin:20px auto;
            border:1px solid yellow;
            background-color: #ffffff;
            overflow: auto;
        }
        li{
            border-bottom:1px solid #efefef;
            list-style: none;
            height:50px;
            margin-left: 20px;
            margin-right: 20px;
        }
        .top div{
            display: inline-block;
            height: 50px;
            line-height: 50px;
        }
        .top .top-1{
            font-family: 黑体;
            font-weight: bold;
            font-size: 25px;
        }
        .top-1 .t1{
            border-right:5px solid #0082ff;
            margin-right: 15px;
        }
        .top-1 .t2{
            margin-right: 15px;
        }
        .top .top-2{
            margin-left: 50px;
            font-size: 18px;
        }
        .top .top-2 a{
            font-family: 苹方;
            text-decoration: none;
            color: #1e2830;
        }
        .top-2 div img{
            display: inline-block;
            margin-right: 2px;
            /* 使用相对布局
            。设置为相对布局的好处是：他的移动不会影响他旁边元素的布局
            。如果不使用相对布局，那么你用margin-top他会吧其他元素给挤下去(margin-top: 20px;)
            */
            position: relative;
            top: 6px;
        }
        .top .top-2 a:hover{
            color: #0082ff;
        }
        .top .top-2 div~div{/* 除了 “全部” 其余的左外边距都为40px*/
            margin-left: 40px;
        }
        /*-----正文部分-----*/
        .news_list li:nth-child(1)~li{
            font-family: 苹方;
            height: 50px;
            line-height: 50px;
        }
        .news_list li:nth-child(1)~li .time{
            /*.news_list 下的子元素li中 从第一个开始(不包括第一个)
              的后面所有li中的.time元素设置样式
            */
            color: #0082ff;
            margin-right: 12px;
        }
        .news_list li:nth-child(1)~li a{
            color: #1779d0;
            text-decoration: none;
            margin-left: 10px;
        }
        .news_list li:nth-child(1)~li a:hover{
            color: #e84235;
        }

        .te_shu .tips{
            font-size: 12px;
            display: inline-block;
        }
        .te_shu .tips .tip1{
            display: inline-block;
            position: relative;
            top: -10px;
            left: 11px;
            color: #9a9da3;
        }
        .te_shu .tips .bottom{
            display: inline-block;
            position: relative;
            top: 7px;
            left: -16px;
            color: #9a9da3;
        }
        /*对列表中的图片进行相对位移调整*/
        li img{
            position: relative;
            top: 6px;
        }
    </style>
</head>
<body>
    <div class="news">
        <ul class="news_list">
            <li>
                <div class="top">
                    <div class="top-1">
                        <span class="t1"></span>
                        <div><span class="t2">3月12日</span>星期三</div>
                    </div>
                    <div class="top-2">
                        <div><img src="./image/pc_ic_all_nor@2x.png" width="25" height="25"><a href="">全部</a></div>
                        <div><img src="./image/pc_ic_important_nor@2x.png" width="25" height="25"><a href="">重要</a></div>
                        <div><img src="./image/pc_ic_finish_nor@2x.png" width="25" height="25"><a href="">完赛</a></div>
                        <div><img src="./image/pc_ic_football_nor@2x.png" width="25" height="25"><a href="">足球</a></div>
                        <div><img src="./image/pc_ic_basketball_nor@2x.png" width="25" height="25"><a href="">篮球</a></div>
                        <div><img src="./image/pc_ic_gaming_nor@2x.png" width="25" height="25"><a href="">电竞</a></div>
                        <div><img src="./image/pc_ic_comprehensive_nor@2x.png" width="25" height="25"><a href="">综合</a></div>
                        <div><img src="./image/pc_ic_filter2_nor@2x.png" width="25" height="25"><a href="">筛选</a></div>
                    </div>
                </div>
            </li>
            <li><span class="time">11:30</span><span class="race-name">WTT冠军赛重庆站第1轮男子单打</span> <a href="">CCTV5 CCTV5+[18:30]文字 手机看直播</a></li>
            <li><span class="time">14:00</span><span class="race-name">全国女子五人足球锦标赛</span><img src="./image/zq_TES_472082.png" width="25" height="25"><a href="">展开</a></li>
            <li><span class="time">15:00</span><span class="race-name">中女超第2轮视频直播</span><img src="./image/zq_shenhushenglichuan_428487.png" width="25" height="25"> <a href="">展开</a></li>
            <li><span class="time">16:00</span><span class="race-name">全球先锋赛循环赛</span> CFO <img src="./image/zq_shanghaishenhuazuqiujulebu_593296.png" width="25" height="25"> - <img src="./image/zq_shanghaiRNGM_285799.png" width="25" height="25"> HLE  <a href="">互动直播</a><a href="">手机看直播</a></li>
            <li><span class="time">17:00</span><span class="race-name">KPL春季赛第二轮B组</span> 上海RNG.M <img src="./image/zq_jinanRWxia_459491.png" width="25" height="25"> - <img src="./image/zq_qingjiu_185199.png" width="25" height="25"> 情久  <a href="">互动直播</a><a href="">手机看直播</a></li>
            <li class="te_shu">
                <span class="time">18:00</span>
                <span class="race-name">亚冠精英联赛东亚区1/8决赛次回合</span>
                <span>川崎前锋(0)</span>
                <img src="./image/zq_foshanDRG_924052.png" width="25" height="25">
                <div class="tips">
                    <div class="tip1">0-1</div>
                    <div class="bottom">首回合</div>
                </div>
                <img src="./image/lq_beijingshougang_984853.png" width="25" height="25">
                <span>上海申花(1)</span><a href="">互动直播</a>
                <a href="">阿马杜、路易斯伤缺，首回合刘诚宇首发造险</a><a href=""></a>
                <a href="">手机看直播</a><a href="">比分</a>
            </li>
            <li class="te_shu">
                <span class="time">18:00</span>
                <span class="race-name">亚冠精英联赛东亚区1/8决赛次回合</span>
                <span>光州FC(0)</span>
                <img src="./image/lq_guangdongdongguandayi_866578.png" width="25" height="25">
                <div class="tips">
                    <div class="tip1">0-2</div>
                    <div class="bottom">首回合</div>
                </div>
                <img src="./image/lq_ningbofubang_276888.png" width="25" height="25">
                <span>神户胜利船(2)</span>
                <a href="">咪咕文字</a><a href="">手机看直播</a>
                <a href="">比分</a> <a href="">动画</a>
            </li>
            <li><span class="time">18:00</span><span class="race-name">全英羽毛球公开赛day2</span> <a href="">优酷文字</a> <a href="">手机看直播</a></li>
            <li><span class="time">19:00</span><span class="race-name">全球先锋赛循环赛</span> KC <img src="./image/zq_KarmineCorp_708359.png" width="25" height="25"> - <img src="./image/lq_beijingshougang_984853.png" width="25" height="25"> TES <a href="">互动直播</a> <a href="">手机看直播</a></li>
            <li><span class="time">19:35</span><span class="race-name">CBA常规赛</span> <span class="team_name">北京</span> <img src="./image/lq_sichuanwuliangjinzun_188943.png" width="25" height="25"> - <img src="./image/zq_shenhushenglichuan_428487.png" width="25" height="25"> <span content="team-name">青岛</span> CCTV5 <a href="">咪咕</a> <a href="">央视频</a> <a href="">BRTV文字</a> <a href="">手机看直播</a> <a href="">比分</a> <a href="">动画</a></li>
            <li><span class="time">19:35</span><span class="race-name">CBA常规赛</span> <span class="team_name">福建</span> <img src="./image/lq_xinjiangyilite_659596.png" width="25" height="25"> - <img src="./image/zq_HLE_316962.png" width="25" height="25"> <span content="team-name">宁波</span> <a href="">咪咕文字</a> <a href="">手机看直播</a> <a href="">比分</a> <a href="">动画</a></li>
            <li><span class="time">19:35</span><span class="race-name">CBA常规赛</span> <span class="team_name">广东</span> <img src="./image/lq_sichuanwuliangjinzun_188943.png" width="25" height="25"> - <img src="./image/lq_beijingshougang_984853.png" width="25" height="25"> <span content="team-name">四川</span> <a href="">咪咕</a><a href="">广体</a> <a href="">四川9连败文字</a> <a href="">手机看直播</a> <a href="">比分</a> <a href="">动画</a></li>
            <li><span class="time">19:35</span><span class="race-name">CBA常规赛</span> <span class="team_name">上海</span> <img src="./image/lq_fujianbaofali_117302.png" width="25" height="25"> - <img src="./image/zq_shenhushenglichuan_428487.png" width="25" height="25"> <span content="team-name">浙江</span> <a href=""></a>咪咕文字 <a href="">手机看直播</a> <a href="">比分</a> <a href="">动画</a></li>
            <li><span class="time">19:35</span><span class="race-name">CBA常规赛</span> <span class="team_name">天津</span> <img src="./image/lq_tianjinxianxingzhe_135505.png" width="25" height="25">  - <img src="./image/lq_beijingshougang_984853.png" width="25" height="25"> <span content="team-name">广州</span> <a href=""></a>咪咕文字 <a href="">手机看直播</a> <a href="">比分</a> <a href="">动画</a></li>
            <li><span class="time">20:00</span><span class="race-name">CBA常规赛</span> <span class="team_name">新疆</span> <img src="./image/zq_foshanDRG_924052.png" width="25" height="25"> - <img src="./image/zq_shanghaishenhuazuqiujulebu_593296.png" width="25" height="25"> <span content="team-name">深圳</span> <a href=""></a>咪咕文字 <a href="">手机看直播</a> <a href="">比分</a> <a href="">动画</a></li>
            <li><span class="time">20:00</span><span class="race-name">KPL春季赛第二轮A组</span> 济南RW侠 <img src="./image/zq_shenhushenglichuan_428487.png" width="25" height="25"> - <img src="./image/zq_CTBCFlyingOyster_717774.png" width="25" height="25"> 佛山DRG <a href="">互动直播</a> <a href="">手机看直播</a></li>
        </ul>
    </div>
</body>
</html>